from django.shortcuts import render

# Create your views here.
from django.http import HttpResponse

def home(request):
    return HttpResponse("Hellow, world. You're at the homepage.")

def login(request):
    #return HttpResponse("Hellow, world. You're at the login.")
    return render(request, 'registration/login.html', { 'name1': 'ZMY' })

def auth(request):
    context["result"] = request.POST['username']
    return render(request, 'registration/login.html', context);